Final Assignment CIT 130 Fall 2003 - Maze Generator

 

Your assignment is to use the following 2 files:
MazeOut.java
MazeOut.java
to construct a maze generator/solver.

MazeOut gives you the code to display a maze and Cell gives you the definition of a single cell.

The algorithm for generating a maze is based on set theory:

The solution is the standard maze recursive solution recursiveSolve(x,y)
Here is an example in a self extracting jar file.

Maze

You can make yours either an applet or application.